package com.cheng.generator.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
* <p>
* 账户菜单信息表
* </p>
*
* @author 山水一程
* @since 2022-08-11
*/
@Data
@TableName("bt_account_menu")
@ApiModel(value = "AccountMenu对象", description = "账户菜单信息表")
public class AccountMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("菜单编号")
    @TableId("menu_id")
    private String menuId;

    @ApiModelProperty("目录路径;前端工程目录")
    @TableField("directory_path")
    private String directoryPath;

    @ApiModelProperty("组件名称;对应vue组件名称")
    @TableField("component_name")
    private String componentName;

    @ApiModelProperty("菜单名称;动态渲染资源展示")
    @TableField("menu_name")
    private String menuName;

    @ApiModelProperty("菜单图标;http://fontawesome.dashgame.com/")
    @TableField("menu_icon")
    private String menuIcon;

    @ApiModelProperty("父级编号")
    @TableField("parent_id")
    private String parentId;

    @ApiModelProperty("是否可用（1：启用 2：禁用）")
    @TableField("enabled")
    private Integer enabled;

    @ApiModelProperty("菜单排序")
    @TableField("menu_sort")
    private Integer menuSort;

    @ApiModelProperty("逻辑删除 （1：未删除 2：已删除）")
    @TableField("tombstone")
    @TableLogic
    private Integer tombstone;


}